Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Configure task with misfire_grace_time in add_schedule() #908

Closed
wants to merge 2 commits into from
Closed

fix: Configure task with misfire_grace_time in add_schedule() #908

wants to merge 2 commits into from

Conversation

injust
Copy link
Contributor

@injust injust commented May 12, 2024

AsyncScheduler.add_schedule() accepts a misfire_grace_time parameter, but was not passing it to self.configure_task().

Fixes #863

@injust
Copy link
Contributor Author

injust commented May 12, 2024

Seems like the Windows tests are broken. Failures aren't relevant to my change and also happen in other PRs.

@agronholm
Copy link
Owner

It's not supposed to be added to the task, but only the schedule. If one wants to have a default misfire_grace_time for the task, they can explicitly configure the task that way.

@agronholm agronholm closed this May 12, 2024
@injust injust deleted the patch-2 branch May 12, 2024 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

misfire_grace_time being passed but not used?
2 participants